package org.mock.service;

import org.mock.common.ResultBaiFenHui;
import org.mock.entity.BaifenhuiOrderBase;
import org.mock.dto.BaifenhuiOrderBaseDTO;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.mock.request.baiFenHui.OrderInfoByCustomerRequest;
import org.mock.request.baiFenHui.OrderInfoRequest;

/**
 * 订单基本信息 服务类
 *
 * @author AI
 * @since 2025-05-23
 */
public interface BaifenhuiOrderBaseService {

    IPage<BaifenhuiOrderBase> page(BaifenhuiOrderBaseDTO dto);

    List<BaifenhuiOrderBase> list(BaifenhuiOrderBaseDTO dto);

    Integer save(BaifenhuiOrderBaseDTO dto);

    Integer updateById(BaifenhuiOrderBaseDTO dto);

    Integer deleteLogic(List<Integer> toIntList);

    BaifenhuiOrderBase getOne(BaifenhuiOrderBaseDTO dto);

    ResultBaiFenHui getOrderInfo(OrderInfoRequest request);

    ResultBaiFenHui getOrderInfoByCustomer(OrderInfoByCustomerRequest request);

    ResultBaiFenHui orderFinish(String orderId);

}
